/* pages/hospital/list.wxss */
.hospital_page {
    background: #F4F4F4;
    width: 100%;
    min-height: 100vh;
}

.search_box {
    padding: 16rpx 32rpx;
    display: flex;
    align-items: center;
    box-sizing: border-box;

    .search_inner {
        flex: 1;
        display: flex;
        align-items: center;
        height: 92rpx;
        border-radius: 16rpx;
        background: #FFFFFF;
        padding: 26rpx;
        box-sizing: border-box;

        .img {
            display: flex;
            align-items: center;
            width: 40rpx;
            height: 40rpx;
        }

        .input_box {
            flex: 1;
            margin-left: 8rpx;

            .a_input {
                font-size: 28rpx;
                font-weight: 400;
                line-height: 44rpx;
                color: rgba(134, 144, 156, 1);
            }
        }

    }

    .cancel {
        flex-shrink: 0;
        margin-left: 22rpx;
        font-size: 28rpx;
        font-weight: 500;
        letter-spacing: 0rpx;
        line-height: 39.2rpx;
        color: rgba(153, 153, 153, 1);
    }
}

.tab_list {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24rpx;

    .cell {
        position: relative;
        font-size: 32rpx;
        font-weight: 500;
        letter-spacing: 0rpx;
        line-height: 32rpx;
        color: rgba(153, 153, 153, 1);
        padding-bottom: 22rpx;
        margin: 0 30rpx;

    }

    .cell_active {
        font-size: 32rpx;
        font-weight: 500;
        letter-spacing: 0rpx;
        line-height: 32rpx;
        color: rgba(48, 123, 255, 1);

    }

    .cell_active:after {
        position: absolute;
        display: block;
        content: "";
        width: 128rpx;
        height: 6rpx;
        background: #307BFF;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);

    }
}

.doctor_list {
    padding: 0 32rpx;


    .doctor {
        min-height: 296rpx;
        border-radius: 16rpx;
        background: #FFFFFF;
        margin: 24rpx 0;
        padding: 24rpx;
        box-sizing: border-box;

        .head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12rpx;

            .info {
                display: flex;
                align-items: center;
                flex: 1;

                .avatar {
                    width: 64rpx;
                    height: 64rpx;
                    border-radius: 100%;
                    background: #F4F4F4;

                    .img {
                        width: 64rpx;
                        height: 64rpx;
                        border-radius: 100%;
                    }
                }

                .name {
                    font-size: 32rpx;
                    font-weight: 500;
                    letter-spacing: 0rpx;
                    line-height: 32rpx;
                    color: rgba(51, 51, 51, 1);
                    margin-left: 24rpx;
                }
            }

            .distance {
                flex-shrink: 0;
                font-size: 24rpx;
                font-weight: 400;
                letter-spacing: 0rpx;
                line-height: 24rpx;
                color: rgba(153, 153, 153, 1);
            }
        }

        .label_box {
            display: flex;
            align-items: center;
            flex-wrap: wrap;

            .label {
                // min-width: 76rpx;
                height: 52rpx;
                border-radius: 26rpx;
                background: rgba(217, 231, 255, 1);

                padding: 0 14rpx;
                box-sizing: border-box;

                font-size: 24rpx;
                font-weight: 400;
                line-height: 52rpx;
                color: #307BFF;
                text-align: center;
                margin: 0 14rpx 14rpx 0;

            }
        }

        .desc_content {
            // margin-top: 22rpx;

            .tips {
                font-size: 28rpx;
                font-weight: 400;
                // line-height: 28rpx;
                color: rgba(102, 102, 102, 1);
                // margin-bottom: 30rpx;
                line-height: 1.8;
            }

            .tips:last-child {
                margin-bottom: 0;
            }
        }
    }
}

.case_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 24rpx 32rpx;

    .case_left,
    .case_right {
        flex: 1;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .case_right {
        padding-left: 14rpx;
    }

    .case_cell {
        width: 336rpx;
        margin: 0 0 16rpx 0;
    }
}

.more_case {
    text-align: right;
    font-size: 24rpx;
    font-weight: 400;
    letter-spacing: 0rpx;
    line-height: 24rpx;
    color: rgba(153, 153, 153, 1);
    padding: 0 32rpx;
    margin: 20rpx 0;

    .txt {
        margin-right: 8rpx;
    }
}

.rich_text {
    line-height: 1.8;
    font-size: 28rpx;
    font-weight: 400;
}

.no_data {
    flex: 1;
    margin-top: 120rpx;
    display: flex;
    align-items: center;
    justify-content: center;
}